package com.tosee.logic.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.tosee.logic.IAllocineBusinessLogic;
import com.tosee.logic.IEpisodeBusinessLogic;
import com.tosee.logic.ISaisonBusinessLogic;
import com.tosee.logic.ISerieBusinessLogic;
import com.tosee.logic.IUserBusinessLogic;

/**
 * Fournisseur de Business Logics.
 * 
 * @author ArnaudLev
 */
@Service
public class BusinessLogicProvider {

    /**
     * Business Logic serie
     */
    @Resource
    private ISerieBusinessLogic serieBusinessLogic;

    /**
     * Business Logic saison
     */
    @Resource
    private ISaisonBusinessLogic saisonBusinessLogic;

    /**
     * Business Logic episode
     */
    @Resource
    private IEpisodeBusinessLogic episodeBusinessLogic;

    /**
     * Business Logic Allocine
     */
    @Resource
    private IAllocineBusinessLogic allocineBusinessLogic;

    /**
     * Business Logic User
     */
    @Resource
    private IUserBusinessLogic userBusinessLogic;

    /**
     * Constructeur par défaut
     */
    public BusinessLogicProvider() {
        super();
    }

    public ISerieBusinessLogic getSerieBusinessLogic() {
        return serieBusinessLogic;
    }

    /**
     * @return the allocineBusinessLogic
     */
    public IAllocineBusinessLogic getAllocineBusinessLogic() {
        return allocineBusinessLogic;
    }

    /**
     * @return the userBusinessLogic
     */
    public IUserBusinessLogic getUserBusinessLogic() {
        return userBusinessLogic;
    }

    /**
     * @return the saisonBusinessLogic
     */
    public ISaisonBusinessLogic getSaisonBusinessLogic() {
        return saisonBusinessLogic;
    }

    /**
     * @return the episodeBusinessLogic
     */
    public IEpisodeBusinessLogic getEpisodeBusinessLogic() {
        return episodeBusinessLogic;
    }

}
